package com.cskaoyan.mall.model.admin;

/**
 * @author: jyf2000jyf
 */
public class AdminVO {
    private Integer id;
    private String email;
    private String nickname;
    private String pwd;

    public AdminVO() {
    }

    public AdminVO(Admin admin) {
        this.id = admin.getId();
        this.email = admin.getUsername();
        this.nickname = admin.getNickname();
        this.pwd = admin.getPassword();
    }

    public AdminVO(Integer id, String email, String nickname, String pwd) {
        this.id = id;
        this.email = email;
        this.nickname = nickname;
        this.pwd = pwd;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}
